<template>
  <div>searchforBigestPolygon</div>
</template>

<script setup>
import { onMounted } from 'vue';
import { search_BigPolygon, xy_inPolygon } from './searchforBigestPolygon';
onMounted(() => {
  let bigarea = search_BigPolygon([
    [1, 2],
    [2, 3],
    [3, 4],
    [4, 5],
    [2, 5],
  ]);
  console.log('当前二维节点坐标所构成的 面积最大的是:', bigarea);
  let isinPolygon = xy_inPolygon([2, 4], bigarea[0]);
  console.log(isinPolygon);
});
</script>

<style scoped lang="scss"></style>

<style></style>
